package com.stefanini.pe.bbva.iivs.in.bo.iface;


import org.springframework.dao.DataAccessException;

import com.stefanini.pe.bbva.iivs.in.dao.iface.UsuarioLDAP2DAO;
import com.stefanini.pe.bbva.iivs.in.to.UsuarioLDAP2;

public interface UsuarioLDAP2Service {
    /**
     * @param codusu
     * @return
     */
    public abstract int deleteByPrimaryKey(String codusu)
            throws DataAccessException;

    /**
     * @param record
     */
    public abstract void insert(UsuarioLDAP2 record) throws DataAccessException;

    /**
     * @param record
     */
    public abstract void insertSelective(UsuarioLDAP2 record)
            throws DataAccessException;

    /**
     * @param codusu
     * @return
     */
    public abstract UsuarioLDAP2 selectByPrimaryKey(String codusu)
            throws DataAccessException;

    /**
     * @param record
     * @return
     */
    public abstract int updateByPrimaryKey(UsuarioLDAP2 record)
            throws DataAccessException;

    /**
     * @param record
     * @return
     */
    public abstract int updateByPrimaryKeySelective(UsuarioLDAP2 record)
            throws DataAccessException;

    /**
     * @param usuarioLDAP2DAO
     *            The usuarioLDAP2DAO to set.
     */
    public abstract void setUsuarioLDAP2DAO(UsuarioLDAP2DAO usuarioLDAP2DAO)
            throws DataAccessException;
}